<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="referrer" content="never">
    <link rel="stylesheet" href="${ctx}/static/jqweui/css/weui.css">
    <link rel="stylesheet" href="${ctx}/static/jqweui/css/jquery-weui.css">
    <link rel="stylesheet" href="${ctx}/static/jqweui/css/icard.css?v=${cssVersion}">
    <title>个人中心</title>
</head>
<body>

    <div style="width: 100%;height: 146px;"><img src="${ctx}/static/jqweui/images/logo.jpg" style="width: 100%;height: 146px;"></div>

    <div class = "block-title" style=" width: 100%;  text-align: left;height: 52px;background-color:#21c9fa;">
        <div  style="width: 38px; height: 38px; float:left; border-radius: 50%; border: 3px solid #eee; overflow: hidden;margin-left: 8px;margin-top: 4px;">
            <#if (user.photo)??>
                <img src="${user.photo!?html}" width="38" height="38" />
            <#elseif user.sex=='男'>
                <img src="${ctx}/static/jqweui/images/default_x.jpg" width="38" height="38" />
            <#elseif user.sex=='女'>
                <img src="${ctx}/static/jqweui/images/default_y.jpg" width="38" height="38" />
            </#if>

        </div>
        <div style="display: table;text-align: left;height: 50px;">
            <div  style="color:#fafafa;font-size: 15px;display: table-cell; vertical-align: middle;padding-left: 8px;width: 2000px;">
                ${user.name!?html}
            </div>
            <div  style="color:#fafafa;font-size: 15px;display: table-cell; vertical-align: middle;text-align:right;padding-right: 10px;width: 2000px;">
                工号: ${user.employeeNo!?html}
            </div>
        </div>

    </div>

    <div class="weui-grids">
        <#if functionModels??><#list functionModels as functionModel>
        <a href="${ctx}/${functionModel.url!?html}" class="weui-grid js_grid">
            <div class="weui-grid__icon grid-icon-s">
                <img src="${ctx}/static/jqweui/images/${functionModel.image!?html}" alt="">
            </div>
            <p class="weui-grid__label" style="margin-top: 1px;">
                ${functionModel.name!?html}
            </p>
        </a>
    </#list></#if>


    </div>

    <script src="${ctx}/static/jqweui/js/jquery-2.1.4.js"></script>
    <script src="${ctx}/static/jqweui/js/jquery-weui.min.js"></script>
</body>
</html>